﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace OCR
{
    public class AdjustInfo
    {
        public string ImagePath
        {
            get;
            set;
        }
        public string OcrResult
        {
            get;
            set;
        }

        public string ImageName
        {
            get;
            set;
        }

        public bool IsPw
        {
            get;
            set;
        }

        public string SourceImagePath
        {
            get;
            set;
        }
        
        public Image CutImage
        {
            get
            {
                if (string.IsNullOrEmpty(this.ImagePath))
                {
                    return null;
                }
                return new Bitmap(this.ImagePath);
            }
        }
    }
}
